package com.mo.ld.activity.animation

import android.os.Bundle
import android.widget.TextView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.mo.ld.R
import com.mo.ld.base.BBaseListActivity
import com.mo.ld.bean.ActionBean
import com.mo.ld.bean.ActionBean2
import com.mo.ld.modle.getMainAdapter2
import com.mo.ld.modle.getMainAdapter3
import com.mo.lib.utils.anim.actionClickAnimAlpha
import com.mo.lib.utils.setClick
import com.mo.lib.view.recyclerview.layoutG

/**
 * @ author：mo
 * @ data：2022/3/25:14:57
 * @ 功能：
 */
class AnimationsActivity : BBaseListActivity<ActionBean2>() {
    override fun initView(savedInstanceState: Bundle?) {
        super.initView(savedInstanceState)
        viewBinding.krvBaseList.layoutG(3)
    }

    override fun getList(page: Int) {
    }

    override fun getMore(page: Int) {
    }

    override fun creatAdaper(): BaseQuickAdapter<ActionBean2, BaseViewHolder> {
        return getMainAdapter3(mutableListOf(ActionBean2("点击效果") {
            it.actionClickAnimAlpha()
        }))
    }

}